package com.x.erp.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.x.erp.model.CarMileage;
import com.x.framework.dao.BaseDao;
/**
 * 车辆里程区间信息DAO
 */
@Repository
public class CarMileageDao extends BaseDao {

	/**
	 * 查询车辆里程区间列表
	 * 
	 * @param carMileage
	 * @return
	 * @throws Exception
	 */
	private final static String selectMileageListSql = "SELECT bcm.* FROM BASE_CAR_MILEAGE bcm WHERE 1 = 1 ";
	public List<CarMileage> selectCarMileageList(CarMileage carMileage) throws Exception{
		return this.queryForList(selectMileageListSql, CarMileage.class);
	}
}
